/*
	@file: log/include/logger/StringFormatter.h
	@author: Wolfhead
 */
#ifndef _LOG_STRING_FORMATTER_H_
#define _LOG_STRING_FORMATTER_H_

#include <string>
#include "Formatter.h"

namespace logger
{

class StringFormatter
	: public Formatter
{
public:
	StringFormatter(const std::string& format);

private:
	
	void do_format(
		LogDataPtr data_ptr,
		std::string & output);

	std::string m_format;
};


}//namespace logger


#endif //#ifndef _LOG_STRING_FORMATTER_H_
